<%--
    Document   : student
    Created on : Mar 31, 2012, 9:07:08 PM
    Author     : Ajay kumar "mukund"
--%>
<%@page import="jobportal.Dbconn"%>
<%@page import="java.sql.ResultSet"%>
<%@page import="java.sql.Statement"%>
<%@page import="java.sql.Connection"%>
<%

            if (session.getAttribute("role") == null || !session.getAttribute("role").equals("student") || session.getAttribute("username") == null || session.getAttribute("username").equals("")) {
                response.sendRedirect("../index.jsp");

            }
            String uname = (String) session.getAttribute("username");
            boolean emailflag = false;
            try {
                Connection con11 = Dbconn.getConn();
                Statement st11 = con11.createStatement();
                ResultSet rs11 = st11.executeQuery("select emailstatus from student where username='" + session.getAttribute("username") + "' and emailstatus='Verified'");
               
                emailflag = rs11.next();
                st11.close();
                con11.close();

            } catch (Exception e) {
            }

%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0023) -->
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
        <title>Jobsite</title>
        <meta name="verify-v1" content="" />

        <meta name="keywords" content="jobsite key word" />
        <meta name="description" content="JObsite meta" />

        <meta name="revisit-after" content="1 day" />

        <meta name="pragma" content="no-cache" />
        <meta name="classification" content="Jobsite" />
        <link rel="shortcut icon" title="Jobsite" href="admin/logo/7201003.ico" />
        <link href="../js_css/mystyle.css" rel="stylesheet" type="text/css" />

        <!--[if lte IE 8]><link href="../js_css/ie8.css" rel="stylesheet" type="text/css" /><![endif]-->
        <!--[if lte IE 9]><link href="../js_css/ie9.css" rel="stylesheet" type="text/css" /><![endif]-->
        <link href="../js_css/ajax.js" rel="stylesheet" type="text/css" />
        <%--JavaScript Ajax Navigation--%>
        <script src="../js_css/navigation.js" type="text/javascript" charset="utf-8"></script>

        <%--JQuery Engine--%>
        <script type="text/javascript" src="../js_css/jquery-1.7.1.min.js"></script>



        <%--JQuery UI--%>
        <script type="text/javascript" src="../js_css/UI/jquery-ui-1.8.18.custom.min.js"></script>
        <link type="text/css" href="../js_css/UI/jquery-ui-1.8.18.custom.css" rel="stylesheet" />
        <script type="text/javascript" src="../js_css/UI/JQueryUI.js"></script>


        <%--Menu Bar--%>
        <link type="text/css" href="../js_css/menu/menu.css" rel="stylesheet" />
        <script type="text/javascript" src="../js_css/menu/menu.js"></script>


        <%--jquery picture slide--%>
        <link href="../js_css/slide/style.css" rel="stylesheet" type="text/css" />
        <script src="../js_css/slide/jquery_slide.js" type="text/javascript" charset="utf-8"></script>
        <script src="../js_css/slide/functions.js" type="text/javascript" charset="utf-8"></script>

        <%--JQUERY Form Validation--%>
        <link href="../js_css/validation/validationEngine.jquery.css" rel="stylesheet" type="text/css" />
        <script src="../js_css/validation/jquery.validationEngine-en.js" type="text/javascript" charset="utf-8"></script>
        <script src="../js_css/validation/jquery.validationEngine.js" type="text/javascript" charset="utf-8"></script>

        <%--wysiwyg text area--%>
        <link rel="stylesheet" href="../js_css/jwysiwyg/jquery.wysiwyg.css" type="text/css" />
        <script type="text/javascript" src="../js_css/jwysiwyg/jquery.wysiwyg.js"></script>




        <script type="text/javascript">
            $(function()
            {
                $('#wysiwyg').wysiwyg();
            });
        </script>







    </head>








    <body>


        <div align="center" class="div">
            <table width="800" height="75" border="0" cellpadding="0" cellspacing="0" style="background: #fbf8f8 url(images/tablebody.gif) repeat-x 0 0;" >

                <tbody>

                    <!--Slider Bar Row-->
                    <tr>
                        <td align="center" valign="middle" width="488">
                            <div class="slider">
                                <div class="slider-holder">
                                    <ul>
                                        <li>

                                            <div class="img"><img src="../images/slide2.gif" alt="" /></div>
                                            <div class="slide">
                                                <h2>Recruitment Portal </h2>
                                                <p> </p>
                                            </div>
                                        </li>

                                        <li>
                                            <div class="img"><img src="../images/slide.gif" alt="" /></div>
                                            <div class="slide">
                                                <h2> Recruitment Portal </h2>
                                                <p> </p>
                                            </div>
                                        </li>
                                        <li>
                                            <div class="img"><img src="../images/slide2.gif" alt="" /></div>
                                            <div class="slide">
                                                <h2> Recruitment Portal </h2>
                                                <p> </p>
                                            </div>
                                        </li>
                                    </ul>
                                </div>

                                <a href="#" class="slider-navigation prev notext"></a>
                                <a href="#" class="slider-navigation next notext"></a>
                            </div>
                        </td>
                    </tr>
                    <!--Menu Bar Row-->
                    <tr>
                        <td style="background-image:url(../../js_css/../images/top_div.jpg)" >


                            <style type="text/css">
                                * { margin:0;
                                    padding:0;
                                }

                                div#menu {

                                    position:relative;

                                }

                            </style>

                            <div id="menu">
                                <ul class="menu" style="width:97%">
                                    <li class="last"><a href="home.jsp"><span>Home</span></a></li>
                                    <li><a href="#" class="parent"><span>Resume Manager</span></a>
                                        <div><ul>
                                                <li><a href="myresumes.jsp"><span>My Resume</span></a></li>
                                                <li><a href="editresume.jsp"><span>Edit Resume</span></a></li>
                                                <li><a href="wordresume.jsp"><span>My MS-Word Resume</span></a></li>
                                                <li><a href="photo.jsp"><span>My Photo</span></a></li>
                                            </ul>
                                        </div>
                                    </li>
                                    <li>
                                        <a href="#"><span>Job Manager</span></a>
                                        <div>
                                            <ul>
                                                <li><a href="advance_search.jsp"><span>Search Job</span></a></li>
                                                <li><a href="my_sent_application.jsp"><span>Applied Job</span></a></li>
                                                <li><a href="my_save_application.jsp"><span>Saved Job</span></a></li>
                                            </ul>
                                        </div>
                                    </li>
                                    <li class="last"><a href="result.jsp"><span>Result</span></a></li>
                                    <li class="last"><a href="hallticket.jsp"><span>Hall Ticket</span></a></li>
                                    <li><a href="#"><span>Setting</span></a>
                                        <div>
                                            <ul>
                                                <li><a href="updateinfo.jsp"><span> Update Personal Info.</span></a></li>
                                                <li><a href="changepass.jsp"><span>Change Password</span></a></li>
                                                <li><a href="delete.jsp"><span>Delete Account</span></a></li>
                                            </ul>
                                        </div>
                                    </li>
                                    <li class="last"><a href="../logout"><span>Logout</span></a></li>
                                </ul>

                            </div>

                        </td>
                    </tr>
                    <!--Search Bar Row-->
                    <tr>
                        <td>





                            <div class="div srch_bg" align="center">



                                <div style="width: 960px; height: 80px; vertical-align: middle;">

                                    <table style="margin-top: 10px; float: left;" border="0" cellpadding="0" cellspacing="0" width="0" height="57">

                                        <tbody>
                                            <tr>

                                                <td class="srch_left">&nbsp;
                                                </td>

                                                <td class="srch_middle" align="left" valign="middle">
                                                    <form action="searchresult1.jsp" method="post" name="quicksearch1" id="quicksearch1" onsubmit="return validate(this);">
                                                        <input name="title" class="input_srch" id="title" value="Enter Job Keyword" onclick="if(this.value=='Enter Job Keyword' || this.value=='Enter keywords to search') this.value=''" onblur="if(this.value=='') this.value='Enter Job Keyword'" onfocus="this.style.color='black'" type="text"/>
                                                        <input name="location" class="input_srch" id="location" value="Enter Job City" onclick="if(this.value=='Enter Job City' || this.value=='Enter City Name') this.value=''" onblur="if(this.value=='') this.value='Enter Job City'" onfocus="this.style.color='black'" type="text"/>

                                                        <button class="srch_btn"></button>
                                                    </form>
                                                </td>
                                                <td class="srch_right">&nbsp;
                                                </td>

                                            </tr>
                                        </tbody>
                                    </table>

                                    <div class="post_ad_spacer">

                                    </div>



                                

                                </div>
                            </div>

                        </td>
                    </tr>

                    <!--Main Content-->
                    <tr>

                        <td>
                            <div align="center" class="div">
                                <table width="960" border="0" cellspacing="0" cellpadding="0">

                                    <tbody><tr>
                                            <td align="center" valign="top">


                                                <table width="960" border="0" cellspacing="0" cellpadding="0" style="margin-top:10px;">
                                                    <tbody><tr>
                                                            <td width="181" height="255" align="left" valign="top">
                                                                <table width="173" border="0" cellspacing="0" cellpadding="0" class="tbl_bdr" style="">
                                                                    <tbody><tr>
                                                                            <td align="left" valign="top" width="23" height="24"><img src="../images/top_left.gif" ;="" class="sde_mnu_img"></td>
                                                                            <td width="148" align="left" valign="middle" class="sde_mnu_hdr">General Options</td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td colspan="2" align="center" valign="middle"><div class="sde_mnu_spr"></div></td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td align="center" valign="middle"><img src="../images/bluearrow.gif"></td>
                                                                            <td align="left" valign="middle" height="20"> <a href="home.jsp" class="sde_mnu_txt">My Home</a></td>
                                                                        </tr>




                                                                        <tr>
                                                                            <td colspan="2" align="center" valign="middle"><div class="sde_mnu_spr"></div></td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td align="center" valign="middle">
                                                                                <img src="../images/bluearrow.gif" />
                                                                            </td>
                                                                            <td align="left" valign="middle">
                                                                                <a href="verify.jsp">Email</a>
                                                                                <%if (emailflag) {%>
                                                                                <font color="green"><strong>Verified</strong></font>&nbsp;<img src="../images/ok.png" width="16" height="16"/>
                                                                                <%} else {%>
                                                                                <font color="red"><strong>not verified&nbsp;</strong></font><img src="../images/i_error.gif" />
                                                                                <%}%>
                                                                            </td>
                                                                        </tr>

                                                                        <tr>
                                                                            <td height="14" colspan="2">&nbsp;</td>
                                                                        </tr>
                                                                    </tbody></table>
                                                                <br />

                                                                <table width="173" border="0" cellspacing="0" cellpadding="0" class="tbl_bdr">
                                                                    <tbody>
                                                                        <tr>
                                                                            <td align="left" valign="top" width="23" height="24">
                                                                                <img src="../images/top_left.gif" class="sde_mnu_img" />                                                                            </td>
                                                                            <td width="148" align="left" valign="middle" class="sde_mnu_hdr">Resume Manager</td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td colspan="2" align="center" valign="middle"><div class="sde_mnu_spr"></div></td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td align="center" valign="left"><img src="../images/bluearrow.gif"></td>
                                                                            <td align="left" valign="middle"><a class="sde_mnu_txt" href="myresumes.jsp">My Resumes</a></td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td colspan="2" align="center" valign="middle"><div class="sde_mnu_spr"></div></td>
                                                                        </tr>

                                                                        <tr>
                                                                            <td align="center" valign="middle"><img src="../images/bluearrow.gif"></td>
                                                                            <td align="left" valign="middle"><a class="sde_mnu_txt" href="wordresume.jsp">My Ms Word Resume</a>                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td colspan="2" align="center" valign="middle"><div class="sde_mnu_spr"></div></td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td align="center" valign="middle"><img src="../images/bluearrow.gif"></td>
                                                                            <td align="left" valign="middle"><a class="sde_mnu_txt" href="photo.jsp">My Photo </a>                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td colspan="2" align="center" valign="middle"><div class="sde_mnu_spr"></div></td>
                                                                        </tr>


                                                                        <tr>
                                                                            <td align="center" valign="middle"><img src="../images/bluearrow.gif"></td>
                                                                            <td align="left" valign="middle"><a href="editresume.jsp" class="sde_mnu_txt">Edit Resume </a></td>
                                                                        </tr>

                                                                        <tr>
                                                                            <td height="14" colspan="2">&nbsp;</td>
                                                                        </tr>
                                                                    </tbody>
                                                                </table>
                                                                <br />
                                                                <table width="173" border="0" cellspacing="0" cellpadding="0" class="tbl_bdr">
                                                                    <tbody>
                                                                        <tr>
                                                                            <td align="left" valign="top" width="26" height="24"><img src="../images/top_left.gif" ;="" class="sde_mnu_img"></td>
                                                                            <td width="147" align="left" valign="middle" class="sde_mnu_hdr">Job Manager</td>
                                                                        </tr>
                                                                        <tr>                                                                        </tr>
                                                                        <tr>
                                                                            <td colspan="2" align="center" valign="middle"><div class="sde_mnu_spr"></div></td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td align="center" valign="middle"><img src="../images/bluearrow.gif"></td>
                                                                            <td align="left" valign="middle"><a href="advance_search.jsp" class="sde_mnu_txt">Search Job </a></td>
                                                                        </tr>
<tr>
                                                                            <td colspan="2" align="center" valign="middle"><div class="sde_mnu_spr"></div></td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td align="center" valign="middle"><img src="../images/bluearrow.gif"></td>
                                                                            <td align="left" valign="middle" class="sde_mnu_txt"><a href="searchresult.jsp" class="sde_mnu_txt">View All Jobs </a>                                                                            </td>
                                                                        </tr>

                                                                        <tr>
                                                                            <td colspan="2" align="center" valign="middle"><div class="sde_mnu_spr"></div></td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td align="center" valign="middle"><img src="../images/bluearrow.gif"></td>
                                                                            <td align="left" valign="middle" class="sde_mnu_txt"><a href="my_sent_application.jsp" class="sde_mnu_txt">Applications Sent </a>                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td colspan="2" align="center" valign="middle"><div class="sde_mnu_spr"></div></td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td align="center" valign="middle"><img src="../images/bluearrow.gif"></td>
                                                                            <td align="left" valign="middle" class="sde_mnu_txt"><a href="my_save_application.jsp" class="sde_mnu_txt">Saved jobs</a>                                                                            </td>
                                                                        </tr>



                                                                        <tr>
                                                                            <td height="14" colspan="2">&nbsp;</td>
                                                                        </tr>
                                                                    </tbody>
                                                                </table>
                                                                <table width="173" border="0" cellspacing="0" cellpadding="0" class="tbl_bdr">
                                                                    <tbody>
                                                                        <tr>
                                                                            <td align="left" valign="top" width="26" height="24"><img src="../images/top_left.gif" ;="" class="sde_mnu_img" /></td>
                                                                            <td width="147" align="left" valign="middle" class="sde_mnu_hdr">Others</td>
                                                                        </tr>
                                                                        <tr> </tr>
                                                                        <tr>
                                                                            <td colspan="2" align="center" valign="middle"><div class="sde_mnu_spr"></div></td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td align="center" valign="middle"><img src="../images/bluearrow.gif" /></td>
                                                                            <td align="left" valign="middle"><a href="result.jsp" class="sde_mnu_txt">Results</a></td>
                                                                        </tr>

                                                                        <tr>
                                                                            <td colspan="2" align="center" valign="middle"><div class="sde_mnu_spr"></div></td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td align="center" valign="middle"><img src="../images/bluearrow.gif" /></td>
                                                                            <td align="left" valign="middle" class="sde_mnu_txt"><a href="hallticket.jsp" class="sde_mnu_txt">Hall Tickets </a> </td>
                                                                        </tr>

                                                                        <tr>
                                                                            <td height="14" colspan="2">&nbsp;</td>
                                                                        </tr>
                                                                    </tbody>
                                                                </table>
                                                                <br />
                                                                <table width="173" border="0" cellspacing="0" cellpadding="0" class="tbl_bdr">
                                                                    <tbody>
                                                                        <tr>
                                                                            <td align="left" valign="top" width="26" height="24"><img src="../images/top_left.gif" ;="" class="sde_mnu_img"></td>
                                                                            <td width="147" align="left" valign="middle" class="sde_mnu_hdr">Settings</td>
                                                                        </tr>



                                                                        <tr>                                                                        </tr><tr>
                                                                            <td colspan="2" align="center" valign="middle"><div class="sde_mnu_spr"> </div></td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td align="center" valign="middle"><img src="../images/bluearrow.gif"></td>
                                                                            <td align="left" valign="middle" class="sde_mnu_txt"><a href="updateinfo.jsp" class="sde_mnu_txt">Update Personal Info.</a>                                                                            </td>
                                                                        </tr>
                                                                        <tr>                                                                        </tr><tr>
                                                                            <td colspan="2" align="center" valign="middle"><div class="sde_mnu_spr"> </div></td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td align="center" valign="middle"><img src="../images/bluearrow.gif"></td>
                                                                            <td align="left" valign="middle" class="sde_mnu_txt"><a href="changepass.jsp" class="sde_mnu_txt">Change Password</a>                                                                            </td>
                                                                        </tr><tr>
                                                                        </tr><tr>
                                                                            <td colspan="2" align="center" valign="middle"><div class="sde_mnu_spr"> </div></td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td align="center" valign="middle"><img src="../images/bluearrow.gif"></td>
                                                                            <td align="left" valign="middle" class="sde_mnu_txt"><a href="delete.jsp" class="sde_mnu_txt">Delete Account </a>                                                                            </td>
                                                                        </tr>



                                                                        <tr>
                                                                            <td height="14" colspan="2">&nbsp;</td>
                                                                        </tr>
                                                                    </tbody>
                                                                </table>
                                                                <br />
                                                                <table width="100%" height="100%" align="center" cellpadding="0" cellspacing="0">
                                                                    <tbody>
                                                                        <tr>
                                                                            <td height="100%" align="center" valign="top">

                                                                            </td>
                                                                        </tr>
                                                                    </tbody>
                                                                </table>
                                                            </td>
                                                            <td height="auto" rowspan="4" align="left" valign="top" style="height:auto; padding:5px;">
                                                                <div id="stucontent">


